/*
 * @Date: 2025-01-29 21:27:49
 * @LastEditors: 贾二小 erxiao.jia@outlook.com
 * @LastEditTime: 2025-08-10 00:55:05
 * @FilePath: /admin-vue/src/main.ts
 */
import { createApp } from 'vue'
// import { addAPIProvider } from '@iconify/vue'

import 'virtual:svg-icons-register'

import App from './App.vue'
import plugin from '@/plugins'

async function setupApp() {
  const app = createApp(App)

  await plugin(app)

  // addAPIProvider('', { resources: ['http://localhost:9529'] })

  app.mount('#app')
}

setupApp()
